package visitor.pattern.demo;



/**
 * Created by 逸足天涯
 * Date: 2019/10/21.
 * Time: 14:26
 */
public class VisitorPatternEx {
    public static void main(String[] args) {
        System.out.println("****Visitor Pattern Demo***");
        IVisitor v = new Visitor();
        MyClass myClass = new MyClass();
        myClass.accept(v);
    }
}
